<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="renderer" content="webkit" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link rel="shortcut icon" href="" />
    <link rel="icon" href="" type="image/png" />
    <title>房地产开发与管理</title>
    <link href="css/normalize.min.css" rel="stylesheet" />
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css" />
    <link rel="stylesheet" href="css/fullpage.min.css" />
    <link rel="stylesheet" href="css/style.css" />
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcdn.net/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcdn.net/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="app" v-cloak>
      <div id="fullpage">
        <!--头部导航栏-->
        <div class="section" data-anchor="header">
          <header>
            <div class="logo">
              <img src="./images/logo.png" alt="" />
              <span>管理科学与房地产学院</span>
            </div>

            <nav class="menu-container">
              <ul class="wrapper">
                <li><a href="./course_overview.html">学院简介</a></li>
                <li class="on"><a href="./redm.html">房地产开发与管理</a></li>
                <li><a href="./course_map.html">课程地图</a></li>
              </ul>
            </nav>
          </header>
        </div>
        <!--//头部导航栏-->
        <div class="section section-box jianjie" data-anchor="jianjie">
          <div class="wrapper">
            <div class="tit-group">
              <i class="icon-jianjie"></i>
              <span>简介</span>
            </div>

            <div class="content">
              响海极太规无斯科家究响各争济者张价此连圆用位可素上科设两需以农却状质类千矿亲具比次难极总段劳产百老基。万她状六取极己先门思式合平红你八济保件好义专天规没儿由革消结复国权团存小参角治眼花深。集家除其理各周住严制马取省重导指着马自接即高热济南国革动器县马任传步东场时新出全对一目受要争图想报形点气断手酸。事术程族养知林没干求难同资展间立习京数个状活同分速将各支织斯规目容化商北规件少复织道观观很白资表治置受精受必型至何你离选收置名切北区八里之各。置当始知使市价在年存便量太周提海习己江特音做则指圆长自消厂史界此京说属科走级些即己机市角体回容土体立京目近。
            </div>
          </div>
        </div>
        <div class="section section-box mubiao" data-anchor="mubiao">
          <div class="wrapper">
            <div class="tit-group">
              <i class="icon-mubiao"></i>
              <span>培养目标</span>
            </div>

            <div class="content">
              <el-table :data="list1" border stripe style="width: 100%">
                <el-table-column align="center" header-align="center" prop="sort" label="序号" width="100">
                </el-table-column>
                <el-table-column header-align="center" prop="content" label="培养目标内容"> </el-table-column>
              </el-table>
            </div>
          </div>
        </div>
        <div class="section section-box yaoqiu" data-anchor="yaoqiu">
          <div class="wrapper">
            <div class="tit-group">
              <i class="icon-yaoqiu"></i>
              <span>毕业要求</span>
            </div>

            <div class="content">
              <el-table :data="lists" :span-method="objectSpanMethod" border stripe style="width: 100%">
                <el-table-column align="center" header-align="center" prop="name" label="毕业要求" width="100">
                </el-table-column>
                <el-table-column header-align="center" prop="content" label="分解指标点"> </el-table-column>
                <el-table-column align="center" header-align="center" prop="relation" label="课程关联">
                </el-table-column>
              </el-table>
            </div>
          </div>
        </div>
        <div class="section section-box guanxi" data-anchor="guanxi">
          <div class="wrapper">
            <div class="tit-group">
              <i class="icon-guanxi"></i>
              <span>支撑关系</span>
            </div>

            <div class="content">
              <el-table :data="list3" border stripe style="width: 100%">
                <el-table-column align="center" header-align="center" prop="name" label="毕业要求" width="100">
                </el-table-column>
                <el-table-column align="center" header-align="center" prop="mubiao1" label="培养目标1">
                  <template #default="{row}">
                    <i class="el-icon-check" v-if="row.mubiao1"></i>
                  </template>
                </el-table-column>
                <el-table-column align="center" header-align="center" prop="mubiao2" label="培养目标2">
                  <template #default="{row}">
                    <i class="el-icon-check" v-if="row.mubiao2"></i>
                  </template>
                </el-table-column>
                <el-table-column align="center" header-align="center" prop="mubiao3" label="培养目标3">
                  <template #default="{row}">
                    <i class="el-icon-check" v-if="row.mubiao3"></i>
                  </template>
                </el-table-column>
                <el-table-column align="center" header-align="center" prop="mubiao4" label="培养目标4">
                  <template #default="{row}">
                    <i class="el-icon-check" v-if="row.mubiao4"></i>
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
        </div>

        <!--底部-->
        <div class="section" data-anchor="footer">
          <footer>
            <div class="wrapper">
              <div class="copyright">管理科学与房地产学院 版权所有</div>
              <div class="tip">建议使用IE8及以上版本或其他高版本浏览器，屏幕分辨率在1366*768及以上的客户端访问</div>
            </div>
          </footer>
        </div>
        <!--//底部-->
      </div>
    </div>
  </body>

  <!--//底部-->
  <script src="./js/vue.min.js"></script>
  <script src="./js/lodash.min.js"></script>
  <!-- 引入组件库 -->
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  <script src="js/fullpage.js"></script>
  <script>
    var app = new Vue({
      el: '#app',
      data() {
        return {
          list1: [
            {
              sort: '培养目标1',
              content:
                '治里商八元队治学江革开这层派管正代次打机话时提放集消复争安文算也如打素美将以值米打术拉信生情即林美工做世正王作适革己口研圆切共现系工条识图行。其提进说头基议据证国认回金解合儿指满已说集委信式厂出部必影手家将性年克见须此用再片带有党周议。',
            },
            {
              sort: '培养目标2',
              content: '蹲下来是为了跳得更高',
            },
            {
              sort: '培养目标3',
              content: '具内加效平圆团由拉话习名即文部总后商率思清国定当家与这院飞条局段单放术养来难自响强好电。',
            },
            {
              sort: '培养目标4',
              content: '有功无过是短暂的，无功有过是行不通的，有功有过是最好的。',
            },
          ],
          list2: [
            {
              name: '毕业要求2:大家风范大地方',
              children: [
                {
                  content:
                    '1.1维发院需后导除类别农决习想选长研处严做新装建原主个造通压及机身党手那重许断知总四世写点包院路观二南象然道状。你再反照在属打必元在东低族约造最小周面要规至西属传统省斯同入起度眼约织好温并全得。',
                  relation: '中国近代史纲',
                },
                {
                  content: '1.2着转物车土强压节维清石应并列接正精热强九听列加又层府西资再打人花置厂状备。',
                  relation: '',
                },
                {
                  content: '1.3与其等待与能力匹配的机会，不如培养与机会匹配的能力',
                  relation: '',
                },
              ],
            },
            {
              name: '毕业要求1',
              children: [
                {
                  content: '1.1要么是态度问题，要么是能力问题，要么两者都有问题。',
                  relation: '',
                },
                {
                  content:
                    '1.2着转物车土强压节维清石应并列接正精热强九听列加又层府西资再达目因着目值转题打人花置厂状备。',
                  relation: '中国近代史纲',
                },
              ],
            },
            {
              name: '毕业要求4',
              children: [
                {
                  content: '1.1要么是态度问题，要么是能力问题，要么两者都有问题。',
                  relation: '',
                },
              ],
            },
            {
              name: '毕业要求5',
              children: [
                {
                  content: '1.1要么是态度问题，要么是能力问题，要么两者都有问题。',
                  relation: '',
                },
                {
                  content:
                    '1.2着转物车土强压节维清石应并列接正精热强九听列加又层府西资再达目因着目值转题打人花置厂状备。',
                  relation: '',
                },
                {
                  content: '1.3与其等待与能力匹配的机会，不如培养与机会匹配的能力',
                  relation: '',
                },
              ],
            },
          ],
          list3: [
            {
              name: '毕业要求1',
              mubiao1: true,
              mubiao2: true,
              mubiao3: true,
              mubiao4: true,
            },
            {
              name: '毕业要求2',
              mubiao1: true,
              mubiao2: false,
              mubiao3: true,
              mubiao4: false,
            },
            {
              name: '毕业要求3',
              mubiao1: false,
              mubiao2: false,
              mubiao3: false,
              mubiao4: true,
            },
            {
              name: '毕业要求4',
              mubiao1: false,
              mubiao2: true,
              mubiao3: false,
              mubiao4: false,
            },
            {
              name: '毕业要求5',
              mubiao1: true,
              mubiao2: false,
              mubiao3: false,
              mubiao4: false,
            },
            {
              name: '毕业要求6',
              mubiao1: true,
              mubiao2: false,
              mubiao3: true,
              mubiao4: true,
            },
            {
              name: '毕业要求7',
              mubiao1: true,
              mubiao2: true,
              mubiao3: false,
              mubiao4: false,
            },
            {
              name: '毕业要求8',
              mubiao1: true,
              mubiao2: false,
              mubiao3: false,
              mubiao4: true,
            },
            {
              name: '毕业要求9',
              mubiao1: true,
              mubiao2: true,
              mubiao3: false,
              mubiao4: true,
            },
            {
              name: '毕业要求10',
              mubiao1: false,
              mubiao2: true,
              mubiao3: true,
              mubiao4: false,
            },
          ],
        }
      },
      computed: {
        lists() {
          return _.flatMap(this.list2, (item) => {
            return _.map(item.children, (vo, idx) => {
              return {
                ..._.omit(item, 'children'),
                ...vo,
                rowspan: idx === 0 ? item.children.length : 0,
                colspan: idx === 0 ? 1 : 0,
              }
            })
          })
        },
      },
      methods: {
        objectSpanMethod({ row, column, rowIndex, columnIndex }) {
          if (columnIndex === 0) {
            return {
              rowspan: row.rowspan,
              colspan: row.colspan,
            }
          }
        },
      },
    })

    new fullpage('#fullpage', {
      autoScrolling: true,
      navigation: true,
      scrollBar: true,
      scrollOverflow: true,
      navigation: false,
      dragAndMove: true,
      anchors: ['header', 'jianjie', 'mubiao', 'yaoqiu', 'guanxi', 'footer'],
    })
  </script>
</html>
